package le.grand;

import java.util.ArrayList;
import java.util.List;

public class ReservationInfo {

	private List<String> names = new ArrayList<>();
	private int reservationNumber;
	private int numOfPassengers;

	public ReservationInfo() {
	}

	public ReservationInfo(List<String> names, int numOfPassengers) {
		super();
		this.names = names;
		this.numOfPassengers = numOfPassengers;
	}

	public List<String> getNames() {
		return names;
	}

	public void setNames(List<String> names) {
		this.names = names;
	}

	public int getNumOfPassengers() {
		return numOfPassengers;
	}

	public void setNumOfPassengers(int numOfPassengers) {
		this.numOfPassengers = numOfPassengers;
	}

	public int getReservationNumber() {
		return reservationNumber;
	}

	public void setReservationNumber(int reservationNumber) {
		this.reservationNumber = reservationNumber;
	}

	@Override
	public String toString() {
		return "ReservationInfo [names=" + names + ", reservationNumber=" + reservationNumber
				+ ", numOfPassengers=" + numOfPassengers + "]";
	}

	
}
